package xyz.zhangyi.onjava.java8.example.lambda.orchard;

import java.util.Arrays;
import java.util.List;

public abstract class Orchard {
    protected List<Apple> apples = Arrays.asList(
            new Apple("red", 120),
            new Apple("green", 160),
            new Apple("red", 190),
            new Apple("green", 90),
            new Apple("green", 170)
    );

    public abstract List<Apple> filter();
}
